package com.zcn.io.web.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zcn.io.web.api.entity.OrderPayAgentDetailVo;
import com.zcn.io.web.api.query.AnswerStatisticQuery;
import com.zcn.io.common.query.PayDetailStatisticsQuery;
import com.zcn.io.common.vo.OrderMainForTrusteeshipVo;
import com.zcn.io.common.vo.statisticsVo.OrderPayDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc:
 * @author: 202438 邱建伟
 * @date: 2024/9/28 17:49
 * @Copyright (c) 2024, 江苏金恒信息科技股份有限公司
 */
@Mapper
public interface StatisticsMapper{
    List<OrderPayDetailVo> listOrderPayDetailByQuery(@Param("query") PayDetailStatisticsQuery query);

    Page<OrderMainForTrusteeshipVo> getAnswerStatics(Page<OrderMainForTrusteeshipVo> page,@Param("query") AnswerStatisticQuery query);

    List<OrderPayAgentDetailVo> getAgentPayDetail(@Param("query")PayDetailStatisticsQuery query);
}
